import { NestFactory } from '@nestjs/core';
import { NestExpressApplication } from '@nestjs/platform-express';
import { AppModule } from './app.module';
async function bootstrap() {
  const app = await NestFactory.create<NestExpressApplication>(AppModule);
  app.enableCors({});
  const port = process.env.ADMIN_PORT;
  await app.listen(port);
  console.log(`http://localhost:${port}`);
}
bootstrap();
